using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace TemplateWeb.Controllers
{
	#region using
	using System.Web.Mvc;
	using TemplateWeb.Models.ViewModels;
	using TemplateWeb.Models;
	using TemplateWeb.Models.Repositories;
	using TemplateWeb.Helpers;
	using System.Web.Security;
	#endregion
	public partial class AdminController: BaseController
	{
		public ActionResult SelectTienIch(int page = 1)
		{
			var data = new DataTransferViewModel
			{
				EnumViewModelType = EnumViewModel.ADMIN_TIENICH,
				CurrentPage = page
			};
			return View(CreateViewModel(data));
		}

		public ActionResult SelectTienIchByNhaDat(int idnhadat, int page = 1)
		{
			var data = new DataTransferViewModel
			{
				IDNhaDat = idnhadat,
				EnumViewModelType = EnumViewModel.ADMIN_TIENICH,
				CurrentPage = page
			};
			return View("SelectTienIch", CreateViewModel(data));
		}
	}
}